package com.hyl.service;

import com.hyl.dao.SysRoleDao;
import com.hyl.entity.SysRole;
import org.mybatis.spring.SqlSessionTemplate;

import java.util.List;

/**
 * @Description TODO
 * @Author com.com.hyl
 * @Date 2022/9/27 10:34
 **/
public class RoleServiceImpl implements RoleService {


	private SysRoleDao sysRoleDao;


	@Override
	public List<SysRole> findAll() {
		return sysRoleDao.findAll();
	}

	@Override
	public SysRole findById(Integer id) {
		return null;
	}

	@Override
	public int insert(SysRole sysUser) {
		return 0;
	}

	@Override
	public int update(SysRole sysUser) {
		return 0;
	}

	@Override
	public int delete(Integer id) {
		return 0;
	}

	@Override
	public SysRole findByUserRole(Integer id) {
		return null;
	}

	public void setSysRoleDao(SysRoleDao sysRoleDao) {
		this.sysRoleDao = sysRoleDao;
	}
}
